#include"dao_QtXml.h"

DaoBase* DaoQt_Get_Wrapper( const QObject *object )
{
  DaoQtObject *user_data = (DaoQtObject*) ((QObject*)object)->userData(0);
  DaoBase *dbase = NULL;
  // no need to map to DaoObject, because it will always be mapped back to
  // DaoCData when passed to Dao codes.
  if( user_data ) dbase = (DaoBase*) user_data->cdata;
  return dbase;
}

DaoMethod* Dao_Get_Object_Method( DaoCData *cd, DValue *obj, const char *name )
{
  DaoMethod *meth;
  if( cd == NULL ) return NULL;
  obj->v.object = DaoCData_GetObject( cd );
  if( obj->v.object == NULL ) return NULL;
  obj->t = DAO_OBJECT;
  meth = DaoObject_GetMethod( obj->v.object, name );
  if( meth == NULL ) return NULL;
  if( meth->type != DAO_METAROUTINE && meth->type != DAO_ROUTINE ) return NULL;
  return meth;
}

static QAbstractFileEngine* Function_10238( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QAbstractFileEngine* _fileEngine = NULL;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QAbstractFileEngine_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QAbstractFileEngine_Typer ) ){
    _fileEngine = (QAbstractFileEngine*) DValue_CastCData( &_res, dao_QAbstractFileEngine_Typer );
  }

EndCall:
  return _fileEngine;
}

static QAbstractFileEngine* Function_10058( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &fileName )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QAbstractFileEngine* _create = NULL;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) fileName.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QAbstractFileEngine_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QAbstractFileEngine_Typer ) ){
    _create = (QAbstractFileEngine*) DValue_CastCData( &_res, dao_QAbstractFileEngine_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _create;
}

static QAbstractFileEngine::FileFlags Function_10047( int *_cs, DaoMethod *_ro, DValue *_ob, QAbstractFileEngine::FileFlags type )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QAbstractFileEngine::FileFlags _fileFlags= (QAbstractFileEngine::FileFlags)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) type );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _fileFlags= (QAbstractFileEngine::FileFlags) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _fileFlags;
}

static QAbstractFileEngine::Iterator* Function_1004f( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QAbstractFileEngine::Iterator* _endEntryList = 0;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QAbstractFileEngine_Iterator_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QAbstractFileEngine_Iterator_Typer ) ){
    _endEntryList = (QAbstractFileEngine::Iterator*) DValue_CastCData( &_res, dao_QAbstractFileEngine_Iterator_Typer );
  }

EndCall:
  return _endEntryList;
}

static QAbstractFileEngine::Iterator* Function_1004e( int *_cs, DaoMethod *_ro, DValue *_ob, QDir::Filters filters, const QStringList &filterNames )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QAbstractFileEngine::Iterator* _beginEntryList = 0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) filters );
  _dp[1] = DValue_WrapCData( dao_QStringList_Typer, (void*) & filterNames );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QAbstractFileEngine_Iterator_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QAbstractFileEngine_Iterator_Typer ) ){
    _beginEntryList = (QAbstractFileEngine::Iterator*) DValue_CastCData( &_res, dao_QAbstractFileEngine_Iterator_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _beginEntryList;
}

static QByteArray Function_100dd( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QByteArray _toLower;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QByteArray_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QByteArray_Typer ) ){
    _toLower = *(QByteArray*) DValue_CastCData( &_res, dao_QByteArray_Typer );
  }

EndCall:
  return _toLower;
}

static QByteArray Function_1044c( int *_cs, DaoMethod *_ro, DValue *_ob, const QChar* in, int length, QTextCodec::ConverterState* state )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QByteArray _convertFromUnicode;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( in->digitValue() );
  _dp[1] = DValue_NewInteger( (int) length );
  _dp[2] = DValue_WrapCData( dao_QTextCodec_ConverterState_Typer, (void*) state );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_STRING ) _convertFromUnicode= DValue_GetMBString( & _res );

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _convertFromUnicode;
}

static QChar Function_10117( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QChar _QChar;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QChar_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QChar_Typer ) ){
    _QChar = *(QChar*) DValue_CastCData( &_res, dao_QChar_Typer );
  }

EndCall:
  return _QChar;
}

static QDateTime Function_1004b( int *_cs, DaoMethod *_ro, DValue *_ob, int time )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QDateTime _fileTime;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) time );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QDateTime_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QDateTime_Typer ) ){
    _fileTime = *(QDateTime*) DValue_CastCData( &_res, dao_QDateTime_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _fileTime;
}

static QFileInfo Function_1005e( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QFileInfo _currentFileInfo;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QFileInfo_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QFileInfo_Typer ) ){
    _currentFileInfo = *(QFileInfo*) DValue_CastCData( &_res, dao_QFileInfo_Typer );
  }

EndCall:
  return _currentFileInfo;
}

static QLocale Function_1036e( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QLocale _locale;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QLocale_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QLocale_Typer ) ){
    _locale = *(QLocale*) DValue_CastCData( &_res, dao_QLocale_Typer );
  }

EndCall:
  return _locale;
}

static QMimeData* Function_10078( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndexList &indexes )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QMimeData* _mimeData = NULL;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QModelIndexList_Typer, (void*) & indexes );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QMimeData_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QMimeData_Typer ) ){
    _mimeData = (QMimeData*) DValue_CastCData( &_res, dao_QMimeData_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _mimeData;
}

static QModelIndex Function_1006f( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndex &child )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QModelIndex _parent;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & child );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QModelIndex_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QModelIndex_Typer ) ){
    _parent = *(QModelIndex*) DValue_CastCData( &_res, dao_QModelIndex_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _parent;
}

static QModelIndex Function_1006e( int *_cs, DaoMethod *_ro, DValue *_ob, int row, int column, const QModelIndex &parent )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QModelIndex _index;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) row );
  _dp[1] = DValue_NewInteger( (int) column );
  _dp[2] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & parent );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QModelIndex_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QModelIndex_Typer ) ){
    _index = *(QModelIndex*) DValue_CastCData( &_res, dao_QModelIndex_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _index;
}

static QModelIndexList Function_10081( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndex &start, int role, const QVariant &value, int hits, Qt::MatchFlags flags )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[5] = { _dao_nil, _dao_nil, _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[5] = { _dp+0, _dp+1, _dp+2, _dp+3, _dp+4 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QModelIndexList _match;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & start );
  _dp[1] = DValue_NewInteger( (int) role );
  _dp[2] = DValue_WrapCData( dao_QVariant_Typer, (void*) & value );
  _dp[3] = DValue_NewInteger( (int) hits );
  _dp[4] = DValue_NewInteger( (int) flags );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 5 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 5 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QModelIndexList_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QModelIndexList_Typer ) ){
    _match = *(QModelIndexList*) DValue_CastCData( &_res, dao_QModelIndexList_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 5 );
  return _match;
}

static QSize Function_10082( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndex &index )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QSize _span;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & index );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QSize_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QSize_Typer ) ){
    _span = *(QSize*) DValue_CastCData( &_res, dao_QSize_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _span;
}

static QString Function_1005b( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QString _next;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_STRING ) _next= DValue_GetMBString( & _res );

EndCall:
  return _next;
}

static QString Function_10016( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QString _objectName;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_STRING ) _objectName= DValue_GetMBString( & _res );

EndCall:
  return _objectName;
}

static QString Function_1050a( int *_cs, DaoMethod *_ro, DValue *_ob, const QByteArray &data, bool beginning )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QString _fromRawData;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) data.data(), 0 );
  _dp[1] = DValue_NewInteger( (int) beginning );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_STRING ) _fromRawData= DValue_GetMBString( & _res );

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _fromRawData;
}

static QString Function_1017a( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &pathName )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QString _toNativeSeparators;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) pathName.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_STRING ) _toNativeSeparators= DValue_GetMBString( & _res );

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _toNativeSeparators;
}

static QString Function_10537( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &publicId, const QString &systemId )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QString _resolveEntity;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) publicId.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewMBString( (char*) systemId.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_STRING ) _resolveEntity= DValue_GetMBString( & _res );

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _resolveEntity;
}

static QString Function_10498( int *_cs, DaoMethod *_ro, DValue *_ob, const char* context, const char* sourceText, const char* disambiguation )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QString _translate;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) context, strlen( (char*)context ) );
  _dp[1] = DValue_NewMBString( (char*) sourceText, strlen( (char*)sourceText ) );
  _dp[2] = DValue_NewMBString( (char*) disambiguation, strlen( (char*)disambiguation ) );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_STRING ) _translate= DValue_GetMBString( & _res );

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _translate;
}

static QString Function_1044b( int *_cs, DaoMethod *_ro, DValue *_ob, const char* in, int length, QTextCodec::ConverterState* state )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QString _convertToUnicode;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) in, strlen( (char*)in ) );
  _dp[1] = DValue_NewInteger( (int) length );
  _dp[2] = DValue_WrapCData( dao_QTextCodec_ConverterState_Typer, (void*) state );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_STRING ) _convertToUnicode= DValue_GetMBString( & _res );

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _convertToUnicode;
}

static QString Function_10049( int *_cs, DaoMethod *_ro, DValue *_ob, int file )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QString _fileName;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) file );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_STRING ) _fileName= DValue_GetMBString( & _res );

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _fileName;
}

static QStringList Function_1005c( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QStringList _nameFilters;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QStringList_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QStringList_Typer ) ){
    _nameFilters = *(QStringList*) DValue_CastCData( &_res, dao_QStringList_Typer );
  }

EndCall:
  return _nameFilters;
}

static QStringList Function_10046( int *_cs, DaoMethod *_ro, DValue *_ob, QDir::Filters filters, const QStringList &filterNames )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QStringList _entryList;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) filters );
  _dp[1] = DValue_WrapCData( dao_QStringList_Typer, (void*) & filterNames );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QStringList_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QStringList_Typer ) ){
    _entryList = *(QStringList*) DValue_CastCData( &_res, dao_QStringList_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _entryList;
}

static QTextCodec* Function_1044e( int *_cs, DaoMethod *_ro, DValue *_ob, const QByteArray &name )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QTextCodec* _codecForName = NULL;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) name.data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QTextCodec_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QTextCodec_Typer ) ){
    _codecForName = (QTextCodec*) DValue_CastCData( &_res, dao_QTextCodec_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _codecForName;
}

static QTextCodec* Function_1045e( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &key )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QTextCodec* _create = NULL;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) key.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QTextCodec_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QTextCodec_Typer ) ){
    _create = (QTextCodec*) DValue_CastCData( &_res, dao_QTextCodec_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _create;
}

static QTextCodec* Function_10450( int *_cs, DaoMethod *_ro, DValue *_ob, int mib )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QTextCodec* _codecForMib = NULL;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) mib );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QTextCodec_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QTextCodec_Typer ) ){
    _codecForMib = (QTextCodec*) DValue_CastCData( &_res, dao_QTextCodec_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _codecForMib;
}

static QVariant Function_10072( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndex &index, int role )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QVariant _data;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & index );
  _dp[1] = DValue_NewInteger( (int) role );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QVariant_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QVariant_Typer ) ){
    _data = *(QVariant*) DValue_CastCData( &_res, dao_QVariant_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _data;
}

static QVariant Function_102f3( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &mimetype, QVariant::Type preferredType )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QVariant _retrieveData;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) mimetype.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewInteger( (int) preferredType );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QVariant_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QVariant_Typer ) ){
    _retrieveData = *(QVariant*) DValue_CastCData( &_res, dao_QVariant_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _retrieveData;
}

static QVariant Function_10333( int *_cs, DaoMethod *_ro, DValue *_ob, const QVariant &from, const QVariant &to, qreal progress )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QVariant _interpolated;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QVariant_Typer, (void*) & from );
  _dp[1] = DValue_WrapCData( dao_QVariant_Typer, (void*) & to );
  _dp[2] = DValue_NewDouble( (double) progress );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QVariant_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QVariant_Typer ) ){
    _interpolated = *(QVariant*) DValue_CastCData( &_res, dao_QVariant_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _interpolated;
}

static QVariant Function_10059( int *_cs, DaoMethod *_ro, DValue *_ob, int type )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QVariant _entryInfo;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) type );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QVariant_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QVariant_Typer ) ){
    _entryInfo = *(QVariant*) DValue_CastCData( &_res, dao_QVariant_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _entryInfo;
}

static QVariant Function_10439( int *_cs, DaoMethod *_ro, DValue *_ob, int type, QVariant in )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QVariant _query;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) type );
  _dp[1] = DValue_WrapCData( dao_QVariant_Typer, (void*) & in );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QVariant_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QVariant_Typer ) ){
    _query = *(QVariant*) DValue_CastCData( &_res, dao_QVariant_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _query;
}

static QVariant Function_10074( int *_cs, DaoMethod *_ro, DValue *_ob, int section, Qt::Orientation orientation, int role )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QVariant _headerData;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) section );
  _dp[1] = DValue_NewInteger( (int) orientation );
  _dp[2] = DValue_NewInteger( (int) role );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QVariant_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QVariant_Typer ) ){
    _headerData = *(QVariant*) DValue_CastCData( &_res, dao_QVariant_Typer );
  }

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _headerData;
}

static QXmlContentHandler* Function_1051d( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QXmlContentHandler* _contentHandler = NULL;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QXmlContentHandler_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QXmlContentHandler_Typer ) ){
    _contentHandler = (QXmlContentHandler*) DValue_CastCData( &_res, dao_QXmlContentHandler_Typer );
  }

EndCall:
  return _contentHandler;
}

static QXmlDTDHandler* Function_1051b( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QXmlDTDHandler* _DTDHandler = NULL;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QXmlDTDHandler_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QXmlDTDHandler_Typer ) ){
    _DTDHandler = (QXmlDTDHandler*) DValue_CastCData( &_res, dao_QXmlDTDHandler_Typer );
  }

EndCall:
  return _DTDHandler;
}

static QXmlDeclHandler* Function_10523( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QXmlDeclHandler* _declHandler = NULL;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QXmlDeclHandler_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QXmlDeclHandler_Typer ) ){
    _declHandler = (QXmlDeclHandler*) DValue_CastCData( &_res, dao_QXmlDeclHandler_Typer );
  }

EndCall:
  return _declHandler;
}

static QXmlEntityResolver* Function_10519( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QXmlEntityResolver* _entityResolver = NULL;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QXmlEntityResolver_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QXmlEntityResolver_Typer ) ){
    _entityResolver = (QXmlEntityResolver*) DValue_CastCData( &_res, dao_QXmlEntityResolver_Typer );
  }

EndCall:
  return _entityResolver;
}

static QXmlErrorHandler* Function_1051f( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QXmlErrorHandler* _errorHandler = NULL;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QXmlErrorHandler_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QXmlErrorHandler_Typer ) ){
    _errorHandler = (QXmlErrorHandler*) DValue_CastCData( &_res, dao_QXmlErrorHandler_Typer );
  }

EndCall:
  return _errorHandler;
}

static QXmlLexicalHandler* Function_10521( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QXmlLexicalHandler* _lexicalHandler = NULL;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_OBJECT && (_cd = DaoObject_MapCData( _res.v.object, dao_QXmlLexicalHandler_Typer ) ) ){
    _res.t = DAO_CDATA;
    _res.v.cdata = _cd;
  }
  if( _res.t == DAO_CDATA && DaoCData_IsType( _res.v.cdata, dao_QXmlLexicalHandler_Typer ) ){
    _lexicalHandler = (QXmlLexicalHandler*) DValue_CastCData( &_res, dao_QXmlLexicalHandler_Typer );
  }

EndCall:
  return _lexicalHandler;
}

static Qt::DropActions Function_1007a( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  Qt::DropActions _supportedDropActions= (Qt::DropActions)0;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _supportedDropActions= (Qt::DropActions) _res.v.i;

EndCall:
  return _supportedDropActions;
}

static Qt::ItemFlags Function_1007f( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndex &index )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  Qt::ItemFlags _flags= (Qt::ItemFlags)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & index );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _flags= (Qt::ItemFlags) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _flags;
}

static bool Function_10009( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _blockSizeMaxed= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _blockSizeMaxed= (bool) _res.v.i;

EndCall:
  return _blockSizeMaxed;
}

static bool Function_10018( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _isWidgetType= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _isWidgetType= (bool) _res.v.i;

EndCall:
  return _isWidgetType;
}

static bool Function_10012( int *_cs, DaoMethod *_ro, DValue *_ob, QEvent* _cp0 )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _event= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QEvent_Typer, (void*) _cp0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _event= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _event;
}

static bool Function_10138( int *_cs, DaoMethod *_ro, DValue *_ob, QEvent* _cp0, QObject* receiver, QPostEventList* _cp2 )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _compressEvent= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QEvent_Typer, (void*) _cp0 );
  _dp[1] = DValue_WrapCData( dao_QObject_Typer, (void*) receiver );
  _dp[2] = DValue_WrapCData( dao_QPostEventList_Typer, (void*) _cp2 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _compressEvent= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _compressEvent;
}

static bool Function_10035( int *_cs, DaoMethod *_ro, DValue *_ob, QEventLoop::ProcessEventsFlags flags )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _processEvents= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) flags );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _processEvents= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _processEvents;
}

static bool Function_10041( int *_cs, DaoMethod *_ro, DValue *_ob, QIODevice::OpenMode openMode )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _open= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) openMode );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _open= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _open;
}

static bool Function_1003a( int *_cs, DaoMethod *_ro, DValue *_ob, QObject* object )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _unregisterTimers= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QObject_Typer, (void*) object );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _unregisterTimers= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _unregisterTimers;
}

static bool Function_10013( int *_cs, DaoMethod *_ro, DValue *_ob, QObject* _cp0, QEvent* _cp1 )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _eventFilter= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QObject_Typer, (void*) _cp0 );
  _dp[1] = DValue_WrapCData( dao_QEvent_Typer, (void*) _cp1 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _eventFilter= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _eventFilter;
}

static bool Function_10079( int *_cs, DaoMethod *_ro, DValue *_ob, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex &parent )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[5] = { _dao_nil, _dao_nil, _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[5] = { _dp+0, _dp+1, _dp+2, _dp+3, _dp+4 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _dropMimeData= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QMimeData_Typer, (void*) data );
  _dp[1] = DValue_NewInteger( (int) action );
  _dp[2] = DValue_NewInteger( (int) row );
  _dp[3] = DValue_NewInteger( (int) column );
  _dp[4] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & parent );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 5 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 5 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _dropMimeData= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 5 );
  return _dropMimeData;
}

static bool Function_10071( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndex &parent )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _hasChildren= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & parent );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _hasChildren= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _hasChildren;
}

static bool Function_10073( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndex &index, const QVariant &value, int role )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _setData= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & index );
  _dp[1] = DValue_WrapCData( dao_QVariant_Typer, (void*) & value );
  _dp[2] = DValue_NewInteger( (int) role );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _setData= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _setData;
}

static bool Function_10044( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &newName )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _copy= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) newName.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _copy= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _copy;
}

static bool Function_10182( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &dirName )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _mkdir= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) dirName.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _mkdir= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _mkdir;
}

static bool Function_10045( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &dirName, bool createParentDirectories )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _mkdir= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) dirName.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewInteger( (int) createParentDirectories );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _mkdir= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _mkdir;
}

static bool Function_10514( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &name, bool* ok )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _feature= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) name.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewInteger( (int) *ok );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _feature= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _feature;
}

static bool Function_10183( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &oldName, const QString &newName )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _rename= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) oldName.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewMBString( (char*) newName.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _rename= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _rename;
}

static bool Function_10504( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &namespaceURI, const QString &localName, const QString &qName )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _endElement= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) namespaceURI.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewMBString( (char*) localName.toLocal8Bit().data(), 0 );
  _dp[2] = DValue_NewMBString( (char*) qName.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _endElement= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _endElement;
}

static bool Function_1049a( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &filename, const QString &directory, const QString &search_delimiters, const QString &suffix )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[4] = { _dao_nil, _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[4] = { _dp+0, _dp+1, _dp+2, _dp+3 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _load= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) filename.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewMBString( (char*) directory.toLocal8Bit().data(), 0 );
  _dp[2] = DValue_NewMBString( (char*) search_delimiters.toLocal8Bit().data(), 0 );
  _dp[3] = DValue_NewMBString( (char*) suffix.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 4 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 4 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _load= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 4 );
  return _load;
}

static bool Function_10505( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[5] = { _dao_nil, _dao_nil, _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[5] = { _dp+0, _dp+1, _dp+2, _dp+3, _dp+4 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _attributeDecl= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) eName.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewMBString( (char*) aName.toLocal8Bit().data(), 0 );
  _dp[2] = DValue_NewMBString( (char*) type.toLocal8Bit().data(), 0 );
  _dp[3] = DValue_NewMBString( (char*) valueDefault.toLocal8Bit().data(), 0 );
  _dp[4] = DValue_NewMBString( (char*) value.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 5 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 5 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _attributeDecl= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 5 );
  return _attributeDecl;
}

static bool Function_10503( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[4] = { _dao_nil, _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[4] = { _dp+0, _dp+1, _dp+2, _dp+3 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _startElement= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) namespaceURI.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewMBString( (char*) localName.toLocal8Bit().data(), 0 );
  _dp[2] = DValue_NewMBString( (char*) qName.toLocal8Bit().data(), 0 );
  _dp[3] = DValue_WrapCData( dao_QXmlAttributes_Typer, (void*) & atts );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 4 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 4 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _startElement= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 4 );
  return _startElement;
}

static bool Function_10524( int *_cs, DaoMethod *_ro, DValue *_ob, const QXmlInputSource &input )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _parse= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QXmlInputSource_Typer, (void*) & input );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _parse= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _parse;
}

static bool Function_10525( int *_cs, DaoMethod *_ro, DValue *_ob, const QXmlInputSource* input )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _parse= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QXmlInputSource_Typer, (void*) input );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _parse= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _parse;
}

static bool Function_10527( int *_cs, DaoMethod *_ro, DValue *_ob, const QXmlInputSource* input, bool incremental )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _parse= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QXmlInputSource_Typer, (void*) input );
  _dp[1] = DValue_NewInteger( (int) incremental );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _parse= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _parse;
}

static bool Function_10506( int *_cs, DaoMethod *_ro, DValue *_ob, const QXmlParseException &exception )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _warning= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QXmlParseException_Typer, (void*) & exception );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _warning= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _warning;
}

static bool Function_10039( int *_cs, DaoMethod *_ro, DValue *_ob, int timerId )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _unregisterTimer= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) timerId );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _unregisterTimer= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _unregisterTimer;
}

static bool Function_10054( int *_cs, DaoMethod *_ro, DValue *_ob, int extension )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _supportsExtension= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) extension );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _supportsExtension= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _supportsExtension;
}

static bool Function_10075( int *_cs, DaoMethod *_ro, DValue *_ob, int section, Qt::Orientation orientation, const QVariant &value, int role )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[4] = { _dao_nil, _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[4] = { _dp+0, _dp+1, _dp+2, _dp+3 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _setHeaderData= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) section );
  _dp[1] = DValue_NewInteger( (int) orientation );
  _dp[2] = DValue_WrapCData( dao_QVariant_Typer, (void*) & value );
  _dp[3] = DValue_NewInteger( (int) role );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 4 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 4 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _setHeaderData= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 4 );
  return _setHeaderData;
}

static bool Function_10053( int *_cs, DaoMethod *_ro, DValue *_ob, int extension, const QAbstractFileEngine::ExtensionOption* option, QAbstractFileEngine::ExtensionReturn* output )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _extension= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) extension );
  _dp[1] = DValue_WrapCData( dao_QAbstractFileEngine_ExtensionOption_Typer, (void*) option );
  _dp[2] = DValue_WrapCData( dao_QAbstractFileEngine_ExtensionReturn_Typer, (void*) output );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _extension= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _extension;
}

static bool Function_1007c( int *_cs, DaoMethod *_ro, DValue *_ob, int row, int count, const QModelIndex &parent )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _insertRows= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) row );
  _dp[1] = DValue_NewInteger( (int) count );
  _dp[2] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & parent );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _insertRows= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 3 );
  return _insertRows;
}

static bool Function_10043( int *_cs, DaoMethod *_ro, DValue *_ob, qint64 pos )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _seek= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewDouble( (double) pos );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _seek= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _seek;
}

static bool Function_10048( int *_cs, DaoMethod *_ro, DValue *_ob, uint perms )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  bool _setPermissions= (bool)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) perms );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _setPermissions= (bool) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _setPermissions;
}

static QAbstractAnimation::State Function_1002d( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  QAbstractAnimation::State _state= (QAbstractAnimation::State)0;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _state= (QAbstractAnimation::State) _res.v.i;

EndCall:
  return _state;
}

static int Function_10070( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndex &parent )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  int _rowCount= (int)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & parent );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _rowCount= (int) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _rowCount;
}

static qint64 Function_10042( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  qint64 _size= (qint64)0;
  if( _ro == NULL ) goto EndCall;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_DOUBLE ) _size= (qint64) _res.v.d;

EndCall:
  return _size;
}

static qint64 Function_10050( int *_cs, DaoMethod *_ro, DValue *_ob, char* data, qint64 maxlen )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  qint64 _read= (qint64)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) data, strlen( (char*)data ) );
  _dp[1] = DValue_NewDouble( (double) maxlen );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_DOUBLE ) _read= (qint64) _res.v.d;

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _read;
}

static qint64 Function_10051( int *_cs, DaoMethod *_ro, DValue *_ob, const char* data, qint64 len )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  qint64 _write= (qint64)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) data, strlen( (char*)data ) );
  _dp[1] = DValue_NewDouble( (double) len );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_DOUBLE ) _write= (qint64) _res.v.d;

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _write;
}

static qreal Function_10490( int *_cs, DaoMethod *_ro, DValue *_ob, int msec )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  qreal _valueForTime= (qreal)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) msec );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_DOUBLE ) _valueForTime= (qreal) _res.v.d;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _valueForTime;
}

static uint Function_1004a( int *_cs, DaoMethod *_ro, DValue *_ob, int _cp0 )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  uint _ownerId= (uint)0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewInteger( (int) _cp0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  if( _res.t == DAO_INTEGER ) _ownerId= (uint) _res.v.i;

EndCall:
  DValue_ClearAll( _dp, 1 );
  return _ownerId;
}

static void Function_10007( int *_cs, DaoMethod *_ro, DValue *_ob )
{
  if( _ro == NULL ) return;
  _ro = DaoMethod_Resolve( _ro, _ob, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, NULL, 0 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
}

static void Function_1002b( int *_cs, DaoMethod *_ro, DValue *_ob, QAbstractAnimation::Direction direction )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewInteger( (int) direction );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_1002a( int *_cs, DaoMethod *_ro, DValue *_ob, QAbstractAnimation::State newState, QAbstractAnimation::State oldState )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewInteger( (int) newState );
  _dp[1] = DValue_NewInteger( (int) oldState );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 2 );
}

static void Function_1000d( int *_cs, DaoMethod *_ro, DValue *_ob, QChildEvent* _cp0 )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QChildEvent_Typer, (void*) _cp0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_1000e( int *_cs, DaoMethod *_ro, DValue *_ob, QEvent* _cp0 )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QEvent_Typer, (void*) _cp0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_10036( int *_cs, DaoMethod *_ro, DValue *_ob, QSocketNotifier* notifier )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QSocketNotifier_Typer, (void*) notifier );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_1000c( int *_cs, DaoMethod *_ro, DValue *_ob, QTimerEvent* _cp0 )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QTimerEvent_Typer, (void*) _cp0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_1051c( int *_cs, DaoMethod *_ro, DValue *_ob, QXmlContentHandler* handler )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QXmlContentHandler_Typer, (void*) handler );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_1051a( int *_cs, DaoMethod *_ro, DValue *_ob, QXmlDTDHandler* handler )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QXmlDTDHandler_Typer, (void*) handler );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_10522( int *_cs, DaoMethod *_ro, DValue *_ob, QXmlDeclHandler* handler )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QXmlDeclHandler_Typer, (void*) handler );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_10518( int *_cs, DaoMethod *_ro, DValue *_ob, QXmlEntityResolver* handler )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QXmlEntityResolver_Typer, (void*) handler );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_1051e( int *_cs, DaoMethod *_ro, DValue *_ob, QXmlErrorHandler* handler )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QXmlErrorHandler_Typer, (void*) handler );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_10520( int *_cs, DaoMethod *_ro, DValue *_ob, QXmlLexicalHandler* handler )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QXmlLexicalHandler_Typer, (void*) handler );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_10502( int *_cs, DaoMethod *_ro, DValue *_ob, QXmlLocator* locator )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QXmlLocator_Typer, (void*) locator );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_100c3( int *_cs, DaoMethod *_ro, DValue *_ob, const QByteArray &data )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewMBString( (char*) data.data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_1007e( int *_cs, DaoMethod *_ro, DValue *_ob, const QModelIndex &parent )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QModelIndex_Typer, (void*) & parent );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_10017( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &name )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewMBString( (char*) name.toLocal8Bit().data(), 0 );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_10515( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &name, bool value )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewMBString( (char*) name.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewInteger( (int) value );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 2 );
}

static void Function_10517( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &name, void* value )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewMBString( (char*) name.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_WrapCData( NULL, (void*) value );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 2 );
}

static void Function_102f8( int *_cs, DaoMethod *_ro, DValue *_ob, const QVariant &image )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_WrapCData( dao_QVariant_Typer, (void*) & image );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_1000f( int *_cs, DaoMethod *_ro, DValue *_ob, const char* signal )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewMBString( (char*) signal, strlen( (char*)signal ) );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_1001d( int *_cs, DaoMethod *_ro, DValue *_ob, int id )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[1] = { _dao_nil };
  DValue *_dp2[1] = { _dp+0 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewInteger( (int) id );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 1 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 1 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 1 );
}

static void Function_10080( int *_cs, DaoMethod *_ro, DValue *_ob, int column, Qt::SortOrder order )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewInteger( (int) column );
  _dp[1] = DValue_NewInteger( (int) order );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 2 );
}

static void Function_10038( int *_cs, DaoMethod *_ro, DValue *_ob, int timerId, int interval, QObject* object )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[3] = { _dao_nil, _dao_nil, _dao_nil };
  DValue *_dp2[3] = { _dp+0, _dp+1, _dp+2 };
  if( _ro == NULL ) return;
  _dp[0] = DValue_NewInteger( (int) timerId );
  _dp[1] = DValue_NewInteger( (int) interval );
  _dp[2] = DValue_WrapCData( dao_QObject_Typer, (void*) object );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 3 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  *_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 3 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
  DValue_ClearAll( _dp, 3 );
}

static void* Function_10516( int *_cs, DaoMethod *_ro, DValue *_ob, const QString &name, bool* ok )
{
  const DValue _dao_nil = {0,0,0,0,{0}};
  DValue _dp[2] = { _dao_nil, _dao_nil };
  DValue *_dp2[2] = { _dp+0, _dp+1 };
  DValue _res;
  DaoCData *_cd;
  DaoVmProcess *_vmp;
  void* _property = 0;
  if( _ro == NULL ) goto EndCall;
  _dp[0] = DValue_NewMBString( (char*) name.toLocal8Bit().data(), 0 );
  _dp[1] = DValue_NewInteger( (int) *ok );

  _ro = DaoMethod_Resolve( _ro, _ob, _dp2, 2 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) goto EndCall;
  _vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  if( (*_cs = DaoVmProcess_Call( _vmp, _ro, _ob, _dp2, 2 )) ==0 ) goto EndCall;
  _res = DaoVmProcess_GetReturned( _vmp );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );

EndCall:
  DValue_ClearAll( _dp, 2 );
  return _property;
}





QDomNode* DAO_DLL_QTXML Dao_QDomNode_New(  )
{
	QDomNode *object = new QDomNode(  );
	return object;
}
QDomNode* DAO_DLL_QTXML Dao_QDomNode_New( const QDomNode &_cp0 )
{
	QDomNode *object = new QDomNode( _cp0 );
	return object;
}


QDomAttr* DAO_DLL_QTXML Dao_QDomAttr_New(  )
{
	QDomAttr *object = new QDomAttr(  );
	return object;
}
QDomAttr* DAO_DLL_QTXML Dao_QDomAttr_New( const QDomAttr &x )
{
	QDomAttr *object = new QDomAttr( x );
	return object;
}



QDomCharacterData* DAO_DLL_QTXML Dao_QDomCharacterData_New(  )
{
	QDomCharacterData *object = new QDomCharacterData(  );
	return object;
}
QDomCharacterData* DAO_DLL_QTXML Dao_QDomCharacterData_New( const QDomCharacterData &x )
{
	QDomCharacterData *object = new QDomCharacterData( x );
	return object;
}


QDomText* DAO_DLL_QTXML Dao_QDomText_New(  )
{
	QDomText *object = new QDomText(  );
	return object;
}
QDomText* DAO_DLL_QTXML Dao_QDomText_New( const QDomText &x )
{
	QDomText *object = new QDomText( x );
	return object;
}


QDomCDATASection* DAO_DLL_QTXML Dao_QDomCDATASection_New(  )
{
	QDomCDATASection *object = new QDomCDATASection(  );
	return object;
}
QDomCDATASection* DAO_DLL_QTXML Dao_QDomCDATASection_New( const QDomCDATASection &x )
{
	QDomCDATASection *object = new QDomCDATASection( x );
	return object;
}




QDomComment* DAO_DLL_QTXML Dao_QDomComment_New(  )
{
	QDomComment *object = new QDomComment(  );
	return object;
}
QDomComment* DAO_DLL_QTXML Dao_QDomComment_New( const QDomComment &x )
{
	QDomComment *object = new QDomComment( x );
	return object;
}



QDomDocument* DAO_DLL_QTXML Dao_QDomDocument_New(  )
{
	QDomDocument *object = new QDomDocument(  );
	return object;
}
QDomDocument* DAO_DLL_QTXML Dao_QDomDocument_New( const QDomDocument &x )
{
	QDomDocument *object = new QDomDocument( x );
	return object;
}
QDomDocument* DAO_DLL_QTXML Dao_QDomDocument_New( const QDomDocumentType &doctype )
{
	QDomDocument *object = new QDomDocument( doctype );
	return object;
}
QDomDocument* DAO_DLL_QTXML Dao_QDomDocument_New( const QString &name )
{
	QDomDocument *object = new QDomDocument( name );
	return object;
}


QDomDocumentFragment* DAO_DLL_QTXML Dao_QDomDocumentFragment_New(  )
{
	QDomDocumentFragment *object = new QDomDocumentFragment(  );
	return object;
}
QDomDocumentFragment* DAO_DLL_QTXML Dao_QDomDocumentFragment_New( const QDomDocumentFragment &x )
{
	QDomDocumentFragment *object = new QDomDocumentFragment( x );
	return object;
}




QDomDocumentType* DAO_DLL_QTXML Dao_QDomDocumentType_New(  )
{
	QDomDocumentType *object = new QDomDocumentType(  );
	return object;
}
QDomDocumentType* DAO_DLL_QTXML Dao_QDomDocumentType_New( const QDomDocumentType &x )
{
	QDomDocumentType *object = new QDomDocumentType( x );
	return object;
}



QDomElement* DAO_DLL_QTXML Dao_QDomElement_New(  )
{
	QDomElement *object = new QDomElement(  );
	return object;
}
QDomElement* DAO_DLL_QTXML Dao_QDomElement_New( const QDomElement &x )
{
	QDomElement *object = new QDomElement( x );
	return object;
}



QDomEntity* DAO_DLL_QTXML Dao_QDomEntity_New(  )
{
	QDomEntity *object = new QDomEntity(  );
	return object;
}
QDomEntity* DAO_DLL_QTXML Dao_QDomEntity_New( const QDomEntity &x )
{
	QDomEntity *object = new QDomEntity( x );
	return object;
}



QDomEntityReference* DAO_DLL_QTXML Dao_QDomEntityReference_New(  )
{
	QDomEntityReference *object = new QDomEntityReference(  );
	return object;
}
QDomEntityReference* DAO_DLL_QTXML Dao_QDomEntityReference_New( const QDomEntityReference &x )
{
	QDomEntityReference *object = new QDomEntityReference( x );
	return object;
}



QDomImplementation* DAO_DLL_QTXML Dao_QDomImplementation_New(  )
{
	QDomImplementation *object = new QDomImplementation(  );
	return object;
}
QDomImplementation* DAO_DLL_QTXML Dao_QDomImplementation_New( const QDomImplementation &_cp0 )
{
	QDomImplementation *object = new QDomImplementation( _cp0 );
	return object;
}



QDomNamedNodeMap* DAO_DLL_QTXML Dao_QDomNamedNodeMap_New(  )
{
	QDomNamedNodeMap *object = new QDomNamedNodeMap(  );
	return object;
}
QDomNamedNodeMap* DAO_DLL_QTXML Dao_QDomNamedNodeMap_New( const QDomNamedNodeMap &_cp0 )
{
	QDomNamedNodeMap *object = new QDomNamedNodeMap( _cp0 );
	return object;
}



QDomNodeList* DAO_DLL_QTXML Dao_QDomNodeList_New(  )
{
	QDomNodeList *object = new QDomNodeList(  );
	return object;
}
QDomNodeList* DAO_DLL_QTXML Dao_QDomNodeList_New( const QDomNodeList &_cp0 )
{
	QDomNodeList *object = new QDomNodeList( _cp0 );
	return object;
}




QDomNotation* DAO_DLL_QTXML Dao_QDomNotation_New(  )
{
	QDomNotation *object = new QDomNotation(  );
	return object;
}
QDomNotation* DAO_DLL_QTXML Dao_QDomNotation_New( const QDomNotation &x )
{
	QDomNotation *object = new QDomNotation( x );
	return object;
}



QDomProcessingInstruction* DAO_DLL_QTXML Dao_QDomProcessingInstruction_New(  )
{
	QDomProcessingInstruction *object = new QDomProcessingInstruction(  );
	return object;
}
QDomProcessingInstruction* DAO_DLL_QTXML Dao_QDomProcessingInstruction_New( const QDomProcessingInstruction &x )
{
	QDomProcessingInstruction *object = new QDomProcessingInstruction( x );
	return object;
}




QXmlAttributes* DAO_DLL_QTXML Dao_QXmlAttributes_New(  )
{
	QXmlAttributes *object = new QXmlAttributes(  );
	return object;
}




DaoCxx_QXmlContentHandler* DAO_DLL_QTXML DaoCxx_QXmlContentHandler_New(  )
{
	DaoCxx_QXmlContentHandler *self = new DaoCxx_QXmlContentHandler(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlContentHandler::DaoInitWrapper( QXmlContentHandler *s, DaoCData *d )
{
	self = s;
	cdata = d;

}
DaoCxx_QXmlContentHandler::~DaoCxx_QXmlContentHandler()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlContentHandler::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlContentHandler_Typer, this );
	DaoCxxVirt_QXmlContentHandler::DaoInitWrapper( this, cdata );
}
bool DaoCxxVirt_QXmlContentHandler::characters( int &_cs, const QString &ch )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "characters" );
  bool _characters= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _characters;
  return (bool)Function_10044( & _cs, _ro, & _obj, ch );
}
bool DaoCxxVirt_QXmlContentHandler::endDocument( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endDocument" );
  bool _endDocument= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endDocument;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlContentHandler::endElement( int &_cs, const QString &namespaceURI, const QString &localName, const QString &qName )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endElement" );
  bool _endElement= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endElement;
  return (bool)Function_10504( & _cs, _ro, & _obj, namespaceURI, localName, qName );
}
bool DaoCxxVirt_QXmlContentHandler::endPrefixMapping( int &_cs, const QString &prefix )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endPrefixMapping" );
  bool _endPrefixMapping= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endPrefixMapping;
  return (bool)Function_10044( & _cs, _ro, & _obj, prefix );
}
QString DaoCxxVirt_QXmlContentHandler::errorString( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorString" );
  QString _errorString;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _errorString;
  return (QString)Function_10016( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlContentHandler::ignorableWhitespace( int &_cs, const QString &ch )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "ignorableWhitespace" );
  bool _ignorableWhitespace= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _ignorableWhitespace;
  return (bool)Function_10044( & _cs, _ro, & _obj, ch );
}
bool DaoCxxVirt_QXmlContentHandler::processingInstruction( int &_cs, const QString &target, const QString &data )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "processingInstruction" );
  bool _processingInstruction= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _processingInstruction;
  return (bool)Function_10183( & _cs, _ro, & _obj, target, data );
}
void DaoCxxVirt_QXmlContentHandler::setDocumentLocator( int &_cs, QXmlLocator* locator )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setDocumentLocator" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_10502( & _cs, _ro, & _obj, locator );
}
bool DaoCxxVirt_QXmlContentHandler::skippedEntity( int &_cs, const QString &name )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "skippedEntity" );
  bool _skippedEntity= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _skippedEntity;
  return (bool)Function_10044( & _cs, _ro, & _obj, name );
}
bool DaoCxxVirt_QXmlContentHandler::startDocument( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startDocument" );
  bool _startDocument= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startDocument;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlContentHandler::startElement( int &_cs, const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startElement" );
  bool _startElement= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startElement;
  return (bool)Function_10503( & _cs, _ro, & _obj, namespaceURI, localName, qName, atts );
}
bool DaoCxxVirt_QXmlContentHandler::startPrefixMapping( int &_cs, const QString &prefix, const QString &uri )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startPrefixMapping" );
  bool _startPrefixMapping= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startPrefixMapping;
  return (bool)Function_10183( & _cs, _ro, & _obj, prefix, uri );
}
bool DaoCxx_QXmlContentHandler::characters( const QString &ch )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::characters( _cs, ch );
}
bool DaoCxx_QXmlContentHandler::endDocument(  )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::endDocument( _cs  );
}
bool DaoCxx_QXmlContentHandler::endElement( const QString &namespaceURI, const QString &localName, const QString &qName )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::endElement( _cs, namespaceURI, localName, qName );
}
bool DaoCxx_QXmlContentHandler::endPrefixMapping( const QString &prefix )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::endPrefixMapping( _cs, prefix );
}
QString DaoCxx_QXmlContentHandler::errorString(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::errorString( _cs  );
}
bool DaoCxx_QXmlContentHandler::ignorableWhitespace( const QString &ch )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::ignorableWhitespace( _cs, ch );
}
bool DaoCxx_QXmlContentHandler::processingInstruction( const QString &target, const QString &data )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::processingInstruction( _cs, target, data );
}
void DaoCxx_QXmlContentHandler::setDocumentLocator( QXmlLocator* locator )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::setDocumentLocator( _cs, locator );
}
bool DaoCxx_QXmlContentHandler::skippedEntity( const QString &name )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::skippedEntity( _cs, name );
}
bool DaoCxx_QXmlContentHandler::startDocument(  )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::startDocument( _cs  );
}
bool DaoCxx_QXmlContentHandler::startElement( const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::startElement( _cs, namespaceURI, localName, qName, atts );
}
bool DaoCxx_QXmlContentHandler::startPrefixMapping( const QString &prefix, const QString &uri )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlContentHandler::startPrefixMapping( _cs, prefix, uri );
}


DaoCxx_QXmlDTDHandler* DAO_DLL_QTXML DaoCxx_QXmlDTDHandler_New(  )
{
	DaoCxx_QXmlDTDHandler *self = new DaoCxx_QXmlDTDHandler(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlDTDHandler::DaoInitWrapper( QXmlDTDHandler *s, DaoCData *d )
{
	self = s;
	cdata = d;

}
DaoCxx_QXmlDTDHandler::~DaoCxx_QXmlDTDHandler()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlDTDHandler::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlDTDHandler_Typer, this );
	DaoCxxVirt_QXmlDTDHandler::DaoInitWrapper( this, cdata );
}
QString DaoCxxVirt_QXmlDTDHandler::errorString( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorString" );
  QString _errorString;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _errorString;
  return (QString)Function_10016( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlDTDHandler::notationDecl( int &_cs, const QString &name, const QString &publicId, const QString &systemId )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "notationDecl" );
  bool _notationDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _notationDecl;
  return (bool)Function_10504( & _cs, _ro, & _obj, name, publicId, systemId );
}
bool DaoCxxVirt_QXmlDTDHandler::unparsedEntityDecl( int &_cs, const QString &name, const QString &publicId, const QString &systemId, const QString &notationName )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "unparsedEntityDecl" );
  bool _unparsedEntityDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _unparsedEntityDecl;
  return (bool)Function_1049a( & _cs, _ro, & _obj, name, publicId, systemId, notationName );
}
QString DaoCxx_QXmlDTDHandler::errorString(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlDTDHandler::errorString( _cs  );
}
bool DaoCxx_QXmlDTDHandler::notationDecl( const QString &name, const QString &publicId, const QString &systemId )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlDTDHandler::notationDecl( _cs, name, publicId, systemId );
}
bool DaoCxx_QXmlDTDHandler::unparsedEntityDecl( const QString &name, const QString &publicId, const QString &systemId, const QString &notationName )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlDTDHandler::unparsedEntityDecl( _cs, name, publicId, systemId, notationName );
}


DaoCxx_QXmlDeclHandler* DAO_DLL_QTXML DaoCxx_QXmlDeclHandler_New(  )
{
	DaoCxx_QXmlDeclHandler *self = new DaoCxx_QXmlDeclHandler(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlDeclHandler::DaoInitWrapper( QXmlDeclHandler *s, DaoCData *d )
{
	self = s;
	cdata = d;

}
DaoCxx_QXmlDeclHandler::~DaoCxx_QXmlDeclHandler()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlDeclHandler::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlDeclHandler_Typer, this );
	DaoCxxVirt_QXmlDeclHandler::DaoInitWrapper( this, cdata );
}
bool DaoCxxVirt_QXmlDeclHandler::attributeDecl( int &_cs, const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "attributeDecl" );
  bool _attributeDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _attributeDecl;
  return (bool)Function_10505( & _cs, _ro, & _obj, eName, aName, type, valueDefault, value );
}
QString DaoCxxVirt_QXmlDeclHandler::errorString( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorString" );
  QString _errorString;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _errorString;
  return (QString)Function_10016( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlDeclHandler::externalEntityDecl( int &_cs, const QString &name, const QString &publicId, const QString &systemId )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "externalEntityDecl" );
  bool _externalEntityDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _externalEntityDecl;
  return (bool)Function_10504( & _cs, _ro, & _obj, name, publicId, systemId );
}
bool DaoCxxVirt_QXmlDeclHandler::internalEntityDecl( int &_cs, const QString &name, const QString &value )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "internalEntityDecl" );
  bool _internalEntityDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _internalEntityDecl;
  return (bool)Function_10183( & _cs, _ro, & _obj, name, value );
}
bool DaoCxx_QXmlDeclHandler::attributeDecl( const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlDeclHandler::attributeDecl( _cs, eName, aName, type, valueDefault, value );
}
QString DaoCxx_QXmlDeclHandler::errorString(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlDeclHandler::errorString( _cs  );
}
bool DaoCxx_QXmlDeclHandler::externalEntityDecl( const QString &name, const QString &publicId, const QString &systemId )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlDeclHandler::externalEntityDecl( _cs, name, publicId, systemId );
}
bool DaoCxx_QXmlDeclHandler::internalEntityDecl( const QString &name, const QString &value )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlDeclHandler::internalEntityDecl( _cs, name, value );
}


DaoCxx_QXmlErrorHandler* DAO_DLL_QTXML DaoCxx_QXmlErrorHandler_New(  )
{
	DaoCxx_QXmlErrorHandler *self = new DaoCxx_QXmlErrorHandler(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlErrorHandler::DaoInitWrapper( QXmlErrorHandler *s, DaoCData *d )
{
	self = s;
	cdata = d;

}
DaoCxx_QXmlErrorHandler::~DaoCxx_QXmlErrorHandler()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlErrorHandler::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlErrorHandler_Typer, this );
	DaoCxxVirt_QXmlErrorHandler::DaoInitWrapper( this, cdata );
}
bool DaoCxxVirt_QXmlErrorHandler::error( int &_cs, const QXmlParseException &exception )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "error" );
  bool _error= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _error;
  return (bool)Function_10506( & _cs, _ro, & _obj, exception );
}
QString DaoCxxVirt_QXmlErrorHandler::errorString( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorString" );
  QString _errorString;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _errorString;
  return (QString)Function_10016( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlErrorHandler::fatalError( int &_cs, const QXmlParseException &exception )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "fatalError" );
  bool _fatalError= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _fatalError;
  return (bool)Function_10506( & _cs, _ro, & _obj, exception );
}
bool DaoCxxVirt_QXmlErrorHandler::warning( int &_cs, const QXmlParseException &exception )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "warning" );
  bool _warning= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _warning;
  return (bool)Function_10506( & _cs, _ro, & _obj, exception );
}
bool DaoCxx_QXmlErrorHandler::error( const QXmlParseException &exception )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlErrorHandler::error( _cs, exception );
}
QString DaoCxx_QXmlErrorHandler::errorString(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlErrorHandler::errorString( _cs  );
}
bool DaoCxx_QXmlErrorHandler::fatalError( const QXmlParseException &exception )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlErrorHandler::fatalError( _cs, exception );
}
bool DaoCxx_QXmlErrorHandler::warning( const QXmlParseException &exception )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlErrorHandler::warning( _cs, exception );
}


DaoCxx_QXmlEntityResolver* DAO_DLL_QTXML DaoCxx_QXmlEntityResolver_New(  )
{
	DaoCxx_QXmlEntityResolver *self = new DaoCxx_QXmlEntityResolver(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlEntityResolver::DaoInitWrapper( QXmlEntityResolver *s, DaoCData *d )
{
	self = s;
	cdata = d;

}
DaoCxx_QXmlEntityResolver::~DaoCxx_QXmlEntityResolver()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlEntityResolver::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlEntityResolver_Typer, this );
	DaoCxxVirt_QXmlEntityResolver::DaoInitWrapper( this, cdata );
}
QString DaoCxxVirt_QXmlEntityResolver::errorString( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorString" );
  QString _errorString;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _errorString;
  return (QString)Function_10016( & _cs, _ro, & _obj );
}
QString DaoCxx_QXmlEntityResolver::errorString(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlEntityResolver::errorString( _cs  );
}


DaoCxx_QXmlLexicalHandler* DAO_DLL_QTXML DaoCxx_QXmlLexicalHandler_New(  )
{
	DaoCxx_QXmlLexicalHandler *self = new DaoCxx_QXmlLexicalHandler(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlLexicalHandler::DaoInitWrapper( QXmlLexicalHandler *s, DaoCData *d )
{
	self = s;
	cdata = d;

}
DaoCxx_QXmlLexicalHandler::~DaoCxx_QXmlLexicalHandler()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlLexicalHandler::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlLexicalHandler_Typer, this );
	DaoCxxVirt_QXmlLexicalHandler::DaoInitWrapper( this, cdata );
}
bool DaoCxxVirt_QXmlLexicalHandler::comment( int &_cs, const QString &ch )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "comment" );
  bool _comment= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _comment;
  return (bool)Function_10044( & _cs, _ro, & _obj, ch );
}
bool DaoCxxVirt_QXmlLexicalHandler::endCDATA( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endCDATA" );
  bool _endCDATA= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endCDATA;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlLexicalHandler::endDTD( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endDTD" );
  bool _endDTD= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endDTD;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlLexicalHandler::endEntity( int &_cs, const QString &name )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endEntity" );
  bool _endEntity= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endEntity;
  return (bool)Function_10044( & _cs, _ro, & _obj, name );
}
QString DaoCxxVirt_QXmlLexicalHandler::errorString( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorString" );
  QString _errorString;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _errorString;
  return (QString)Function_10016( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlLexicalHandler::startCDATA( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startCDATA" );
  bool _startCDATA= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startCDATA;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlLexicalHandler::startDTD( int &_cs, const QString &name, const QString &publicId, const QString &systemId )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startDTD" );
  bool _startDTD= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startDTD;
  return (bool)Function_10504( & _cs, _ro, & _obj, name, publicId, systemId );
}
bool DaoCxxVirt_QXmlLexicalHandler::startEntity( int &_cs, const QString &name )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startEntity" );
  bool _startEntity= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startEntity;
  return (bool)Function_10044( & _cs, _ro, & _obj, name );
}
bool DaoCxx_QXmlLexicalHandler::comment( const QString &ch )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLexicalHandler::comment( _cs, ch );
}
bool DaoCxx_QXmlLexicalHandler::endCDATA(  )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLexicalHandler::endCDATA( _cs  );
}
bool DaoCxx_QXmlLexicalHandler::endDTD(  )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLexicalHandler::endDTD( _cs  );
}
bool DaoCxx_QXmlLexicalHandler::endEntity( const QString &name )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLexicalHandler::endEntity( _cs, name );
}
QString DaoCxx_QXmlLexicalHandler::errorString(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLexicalHandler::errorString( _cs  );
}
bool DaoCxx_QXmlLexicalHandler::startCDATA(  )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLexicalHandler::startCDATA( _cs  );
}
bool DaoCxx_QXmlLexicalHandler::startDTD( const QString &name, const QString &publicId, const QString &systemId )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLexicalHandler::startDTD( _cs, name, publicId, systemId );
}
bool DaoCxx_QXmlLexicalHandler::startEntity( const QString &name )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLexicalHandler::startEntity( _cs, name );
}


DaoCxx_QXmlDefaultHandler* DAO_DLL_QTXML DaoCxx_QXmlDefaultHandler_New(  )
{
	DaoCxx_QXmlDefaultHandler *self = new DaoCxx_QXmlDefaultHandler(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlDefaultHandler::DaoInitWrapper( QXmlDefaultHandler *s, DaoCData *d )
{
	self = s;
	cdata = d;
	DaoCxxVirt_QXmlContentHandler::DaoInitWrapper( s, d );
	DaoCxxVirt_QXmlErrorHandler::DaoInitWrapper( s, d );
	DaoCxxVirt_QXmlDTDHandler::DaoInitWrapper( s, d );
	DaoCxxVirt_QXmlEntityResolver::DaoInitWrapper( s, d );
	DaoCxxVirt_QXmlLexicalHandler::DaoInitWrapper( s, d );
	DaoCxxVirt_QXmlDeclHandler::DaoInitWrapper( s, d );
}
DaoCxx_QXmlDefaultHandler::~DaoCxx_QXmlDefaultHandler()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlDefaultHandler::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlDefaultHandler_Typer, this );
	DaoCxxVirt_QXmlDefaultHandler::DaoInitWrapper( this, cdata );
}
bool DaoCxxVirt_QXmlDefaultHandler::attributeDecl( int &_cs, const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "attributeDecl" );
  bool _attributeDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _attributeDecl;
  return (bool)Function_10505( & _cs, _ro, & _obj, eName, aName, type, valueDefault, value );
}
bool DaoCxxVirt_QXmlDefaultHandler::characters( int &_cs, const QString &ch )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "characters" );
  bool _characters= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _characters;
  return (bool)Function_10044( & _cs, _ro, & _obj, ch );
}
bool DaoCxxVirt_QXmlDefaultHandler::comment( int &_cs, const QString &ch )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "comment" );
  bool _comment= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _comment;
  return (bool)Function_10044( & _cs, _ro, & _obj, ch );
}
bool DaoCxxVirt_QXmlDefaultHandler::endCDATA( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endCDATA" );
  bool _endCDATA= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endCDATA;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlDefaultHandler::endDTD( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endDTD" );
  bool _endDTD= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endDTD;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlDefaultHandler::endDocument( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endDocument" );
  bool _endDocument= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endDocument;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlDefaultHandler::endElement( int &_cs, const QString &namespaceURI, const QString &localName, const QString &qName )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endElement" );
  bool _endElement= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endElement;
  return (bool)Function_10504( & _cs, _ro, & _obj, namespaceURI, localName, qName );
}
bool DaoCxxVirt_QXmlDefaultHandler::endEntity( int &_cs, const QString &name )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endEntity" );
  bool _endEntity= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endEntity;
  return (bool)Function_10044( & _cs, _ro, & _obj, name );
}
bool DaoCxxVirt_QXmlDefaultHandler::endPrefixMapping( int &_cs, const QString &prefix )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endPrefixMapping" );
  bool _endPrefixMapping= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _endPrefixMapping;
  return (bool)Function_10044( & _cs, _ro, & _obj, prefix );
}
bool DaoCxxVirt_QXmlDefaultHandler::error( int &_cs, const QXmlParseException &exception )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "error" );
  bool _error= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _error;
  return (bool)Function_10506( & _cs, _ro, & _obj, exception );
}
QString DaoCxxVirt_QXmlDefaultHandler::errorString( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorString" );
  QString _errorString;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _errorString;
  return (QString)Function_10016( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlDefaultHandler::externalEntityDecl( int &_cs, const QString &name, const QString &publicId, const QString &systemId )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "externalEntityDecl" );
  bool _externalEntityDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _externalEntityDecl;
  return (bool)Function_10504( & _cs, _ro, & _obj, name, publicId, systemId );
}
bool DaoCxxVirt_QXmlDefaultHandler::fatalError( int &_cs, const QXmlParseException &exception )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "fatalError" );
  bool _fatalError= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _fatalError;
  return (bool)Function_10506( & _cs, _ro, & _obj, exception );
}
bool DaoCxxVirt_QXmlDefaultHandler::ignorableWhitespace( int &_cs, const QString &ch )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "ignorableWhitespace" );
  bool _ignorableWhitespace= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _ignorableWhitespace;
  return (bool)Function_10044( & _cs, _ro, & _obj, ch );
}
bool DaoCxxVirt_QXmlDefaultHandler::internalEntityDecl( int &_cs, const QString &name, const QString &value )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "internalEntityDecl" );
  bool _internalEntityDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _internalEntityDecl;
  return (bool)Function_10183( & _cs, _ro, & _obj, name, value );
}
bool DaoCxxVirt_QXmlDefaultHandler::notationDecl( int &_cs, const QString &name, const QString &publicId, const QString &systemId )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "notationDecl" );
  bool _notationDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _notationDecl;
  return (bool)Function_10504( & _cs, _ro, & _obj, name, publicId, systemId );
}
bool DaoCxxVirt_QXmlDefaultHandler::processingInstruction( int &_cs, const QString &target, const QString &data )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "processingInstruction" );
  bool _processingInstruction= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _processingInstruction;
  return (bool)Function_10183( & _cs, _ro, & _obj, target, data );
}
void DaoCxxVirt_QXmlDefaultHandler::setDocumentLocator( int &_cs, QXmlLocator* locator )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setDocumentLocator" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_10502( & _cs, _ro, & _obj, locator );
}
bool DaoCxxVirt_QXmlDefaultHandler::skippedEntity( int &_cs, const QString &name )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "skippedEntity" );
  bool _skippedEntity= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _skippedEntity;
  return (bool)Function_10044( & _cs, _ro, & _obj, name );
}
bool DaoCxxVirt_QXmlDefaultHandler::startCDATA( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startCDATA" );
  bool _startCDATA= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startCDATA;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlDefaultHandler::startDTD( int &_cs, const QString &name, const QString &publicId, const QString &systemId )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startDTD" );
  bool _startDTD= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startDTD;
  return (bool)Function_10504( & _cs, _ro, & _obj, name, publicId, systemId );
}
bool DaoCxxVirt_QXmlDefaultHandler::startDocument( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startDocument" );
  bool _startDocument= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startDocument;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlDefaultHandler::startElement( int &_cs, const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startElement" );
  bool _startElement= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startElement;
  return (bool)Function_10503( & _cs, _ro, & _obj, namespaceURI, localName, qName, atts );
}
bool DaoCxxVirt_QXmlDefaultHandler::startEntity( int &_cs, const QString &name )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startEntity" );
  bool _startEntity= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startEntity;
  return (bool)Function_10044( & _cs, _ro, & _obj, name );
}
bool DaoCxxVirt_QXmlDefaultHandler::startPrefixMapping( int &_cs, const QString &prefix, const QString &uri )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startPrefixMapping" );
  bool _startPrefixMapping= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _startPrefixMapping;
  return (bool)Function_10183( & _cs, _ro, & _obj, prefix, uri );
}
bool DaoCxxVirt_QXmlDefaultHandler::unparsedEntityDecl( int &_cs, const QString &name, const QString &publicId, const QString &systemId, const QString &notationName )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "unparsedEntityDecl" );
  bool _unparsedEntityDecl= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _unparsedEntityDecl;
  return (bool)Function_1049a( & _cs, _ro, & _obj, name, publicId, systemId, notationName );
}
bool DaoCxxVirt_QXmlDefaultHandler::warning( int &_cs, const QXmlParseException &exception )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "warning" );
  bool _warning= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _warning;
  return (bool)Function_10506( & _cs, _ro, & _obj, exception );
}
bool DaoCxx_QXmlDefaultHandler::attributeDecl( const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "attributeDecl" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _attributeDecl = DaoCxxVirt_QXmlDefaultHandler::attributeDecl( _cs, eName, aName, type, valueDefault, value );
	if( _cs ) return _attributeDecl;
  }
  return QXmlDefaultHandler::attributeDecl( eName, aName, type, valueDefault, value );
}
bool DaoCxx_QXmlDefaultHandler::characters( const QString &ch )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "characters" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _characters = DaoCxxVirt_QXmlDefaultHandler::characters( _cs, ch );
	if( _cs ) return _characters;
  }
  return QXmlDefaultHandler::characters( ch );
}
bool DaoCxx_QXmlDefaultHandler::comment( const QString &ch )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "comment" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _comment = DaoCxxVirt_QXmlDefaultHandler::comment( _cs, ch );
	if( _cs ) return _comment;
  }
  return QXmlDefaultHandler::comment( ch );
}
bool DaoCxx_QXmlDefaultHandler::endCDATA(  )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endCDATA" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _endCDATA = DaoCxxVirt_QXmlDefaultHandler::endCDATA( _cs  );
	if( _cs ) return _endCDATA;
  }
  return QXmlDefaultHandler::endCDATA(  );
}
bool DaoCxx_QXmlDefaultHandler::endDTD(  )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endDTD" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _endDTD = DaoCxxVirt_QXmlDefaultHandler::endDTD( _cs  );
	if( _cs ) return _endDTD;
  }
  return QXmlDefaultHandler::endDTD(  );
}
bool DaoCxx_QXmlDefaultHandler::endDocument(  )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endDocument" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _endDocument = DaoCxxVirt_QXmlDefaultHandler::endDocument( _cs  );
	if( _cs ) return _endDocument;
  }
  return QXmlDefaultHandler::endDocument(  );
}
bool DaoCxx_QXmlDefaultHandler::endElement( const QString &namespaceURI, const QString &localName, const QString &qName )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endElement" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _endElement = DaoCxxVirt_QXmlDefaultHandler::endElement( _cs, namespaceURI, localName, qName );
	if( _cs ) return _endElement;
  }
  return QXmlDefaultHandler::endElement( namespaceURI, localName, qName );
}
bool DaoCxx_QXmlDefaultHandler::endEntity( const QString &name )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endEntity" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _endEntity = DaoCxxVirt_QXmlDefaultHandler::endEntity( _cs, name );
	if( _cs ) return _endEntity;
  }
  return QXmlDefaultHandler::endEntity( name );
}
bool DaoCxx_QXmlDefaultHandler::endPrefixMapping( const QString &prefix )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "endPrefixMapping" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _endPrefixMapping = DaoCxxVirt_QXmlDefaultHandler::endPrefixMapping( _cs, prefix );
	if( _cs ) return _endPrefixMapping;
  }
  return QXmlDefaultHandler::endPrefixMapping( prefix );
}
bool DaoCxx_QXmlDefaultHandler::error( const QXmlParseException &exception )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "error" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _error = DaoCxxVirt_QXmlDefaultHandler::error( _cs, exception );
	if( _cs ) return _error;
  }
  return QXmlDefaultHandler::error( exception );
}
QString DaoCxx_QXmlDefaultHandler::errorString(  )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorString" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QString _errorString = DaoCxxVirt_QXmlDefaultHandler::errorString( _cs  );
	if( _cs ) return _errorString;
  }
  return QXmlDefaultHandler::errorString(  );
}
bool DaoCxx_QXmlDefaultHandler::externalEntityDecl( const QString &name, const QString &publicId, const QString &systemId )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "externalEntityDecl" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _externalEntityDecl = DaoCxxVirt_QXmlDefaultHandler::externalEntityDecl( _cs, name, publicId, systemId );
	if( _cs ) return _externalEntityDecl;
  }
  return QXmlDefaultHandler::externalEntityDecl( name, publicId, systemId );
}
bool DaoCxx_QXmlDefaultHandler::fatalError( const QXmlParseException &exception )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "fatalError" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _fatalError = DaoCxxVirt_QXmlDefaultHandler::fatalError( _cs, exception );
	if( _cs ) return _fatalError;
  }
  return QXmlDefaultHandler::fatalError( exception );
}
bool DaoCxx_QXmlDefaultHandler::ignorableWhitespace( const QString &ch )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "ignorableWhitespace" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _ignorableWhitespace = DaoCxxVirt_QXmlDefaultHandler::ignorableWhitespace( _cs, ch );
	if( _cs ) return _ignorableWhitespace;
  }
  return QXmlDefaultHandler::ignorableWhitespace( ch );
}
bool DaoCxx_QXmlDefaultHandler::internalEntityDecl( const QString &name, const QString &value )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "internalEntityDecl" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _internalEntityDecl = DaoCxxVirt_QXmlDefaultHandler::internalEntityDecl( _cs, name, value );
	if( _cs ) return _internalEntityDecl;
  }
  return QXmlDefaultHandler::internalEntityDecl( name, value );
}
bool DaoCxx_QXmlDefaultHandler::notationDecl( const QString &name, const QString &publicId, const QString &systemId )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "notationDecl" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _notationDecl = DaoCxxVirt_QXmlDefaultHandler::notationDecl( _cs, name, publicId, systemId );
	if( _cs ) return _notationDecl;
  }
  return QXmlDefaultHandler::notationDecl( name, publicId, systemId );
}
bool DaoCxx_QXmlDefaultHandler::processingInstruction( const QString &target, const QString &data )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "processingInstruction" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _processingInstruction = DaoCxxVirt_QXmlDefaultHandler::processingInstruction( _cs, target, data );
	if( _cs ) return _processingInstruction;
  }
  return QXmlDefaultHandler::processingInstruction( target, data );
}
void DaoCxx_QXmlDefaultHandler::setDocumentLocator( QXmlLocator* locator )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setDocumentLocator" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlDefaultHandler::setDocumentLocator( _cs, locator );
	if( _cs ) return;
  }
  QXmlDefaultHandler::setDocumentLocator( locator );
}
bool DaoCxx_QXmlDefaultHandler::skippedEntity( const QString &name )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "skippedEntity" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _skippedEntity = DaoCxxVirt_QXmlDefaultHandler::skippedEntity( _cs, name );
	if( _cs ) return _skippedEntity;
  }
  return QXmlDefaultHandler::skippedEntity( name );
}
bool DaoCxx_QXmlDefaultHandler::startCDATA(  )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startCDATA" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _startCDATA = DaoCxxVirt_QXmlDefaultHandler::startCDATA( _cs  );
	if( _cs ) return _startCDATA;
  }
  return QXmlDefaultHandler::startCDATA(  );
}
bool DaoCxx_QXmlDefaultHandler::startDTD( const QString &name, const QString &publicId, const QString &systemId )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startDTD" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _startDTD = DaoCxxVirt_QXmlDefaultHandler::startDTD( _cs, name, publicId, systemId );
	if( _cs ) return _startDTD;
  }
  return QXmlDefaultHandler::startDTD( name, publicId, systemId );
}
bool DaoCxx_QXmlDefaultHandler::startDocument(  )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startDocument" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _startDocument = DaoCxxVirt_QXmlDefaultHandler::startDocument( _cs  );
	if( _cs ) return _startDocument;
  }
  return QXmlDefaultHandler::startDocument(  );
}
bool DaoCxx_QXmlDefaultHandler::startElement( const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startElement" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _startElement = DaoCxxVirt_QXmlDefaultHandler::startElement( _cs, namespaceURI, localName, qName, atts );
	if( _cs ) return _startElement;
  }
  return QXmlDefaultHandler::startElement( namespaceURI, localName, qName, atts );
}
bool DaoCxx_QXmlDefaultHandler::startEntity( const QString &name )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startEntity" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _startEntity = DaoCxxVirt_QXmlDefaultHandler::startEntity( _cs, name );
	if( _cs ) return _startEntity;
  }
  return QXmlDefaultHandler::startEntity( name );
}
bool DaoCxx_QXmlDefaultHandler::startPrefixMapping( const QString &prefix, const QString &uri )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "startPrefixMapping" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _startPrefixMapping = DaoCxxVirt_QXmlDefaultHandler::startPrefixMapping( _cs, prefix, uri );
	if( _cs ) return _startPrefixMapping;
  }
  return QXmlDefaultHandler::startPrefixMapping( prefix, uri );
}
bool DaoCxx_QXmlDefaultHandler::unparsedEntityDecl( const QString &name, const QString &publicId, const QString &systemId, const QString &notationName )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "unparsedEntityDecl" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _unparsedEntityDecl = DaoCxxVirt_QXmlDefaultHandler::unparsedEntityDecl( _cs, name, publicId, systemId, notationName );
	if( _cs ) return _unparsedEntityDecl;
  }
  return QXmlDefaultHandler::unparsedEntityDecl( name, publicId, systemId, notationName );
}
bool DaoCxx_QXmlDefaultHandler::warning( const QXmlParseException &exception )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "warning" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _warning = DaoCxxVirt_QXmlDefaultHandler::warning( _cs, exception );
	if( _cs ) return _warning;
  }
  return QXmlDefaultHandler::warning( exception );
}


DaoCxx_QXmlInputSource* DAO_DLL_QTXML DaoCxx_QXmlInputSource_New(  )
{
	DaoCxx_QXmlInputSource *self = new DaoCxx_QXmlInputSource(  );
	self->DaoInitWrapper();
	return self;
}
DaoCxx_QXmlInputSource* DAO_DLL_QTXML DaoCxx_QXmlInputSource_New( QIODevice* dev )
{
	DaoCxx_QXmlInputSource *self = new DaoCxx_QXmlInputSource( dev );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlInputSource::DaoInitWrapper( QXmlInputSource *s, DaoCData *d )
{
	self = s;
	cdata = d;

}
DaoCxx_QXmlInputSource::~DaoCxx_QXmlInputSource()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlInputSource::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlInputSource_Typer, this );
	DaoCxxVirt_QXmlInputSource::DaoInitWrapper( this, cdata );
}
QXmlInputSource* DAO_DLL_QTXML Dao_QXmlInputSource_Copy( const QXmlInputSource &p )
{
	QXmlInputSource *object = new QXmlInputSource( p );
	return object;
}
QString DaoCxxVirt_QXmlInputSource::data( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "data" );
  QString _data;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _data;
  return (QString)Function_10016( & _cs, _ro, & _obj );
}
void DaoCxxVirt_QXmlInputSource::fetchData( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "fetchData" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  _ro = DaoMethod_Resolve( _ro, & _obj, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  DaoVmProcess_Call( _vmp, _ro, & _obj, NULL, 0 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
}
QString DaoCxxVirt_QXmlInputSource::fromRawData( int &_cs, const QByteArray &data, bool beginning )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "fromRawData" );
  QString _fromRawData;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _fromRawData;
  return (QString)Function_1050a( & _cs, _ro, & _obj, data, beginning );
}
QChar DaoCxxVirt_QXmlInputSource::next( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "next" );
  QChar _next;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _next;
  return (QChar)Function_10117( & _cs, _ro, & _obj );
}
void DaoCxxVirt_QXmlInputSource::reset( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "reset" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  _ro = DaoMethod_Resolve( _ro, & _obj, NULL, 0 );
  if( _ro == NULL || _ro->type != DAO_ROUTINE ) return;
  DaoVmProcess *_vmp = DaoVmSpace_AcquireProcess( __daoVmSpace );
  DaoVmProcess_Call( _vmp, _ro, & _obj, NULL, 0 );
  DaoVmSpace_ReleaseProcess( __daoVmSpace, _vmp );
}
void DaoCxxVirt_QXmlInputSource::setData( int &_cs, const QByteArray &dat )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setData" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_100c3( & _cs, _ro, & _obj, dat );
}
void DaoCxxVirt_QXmlInputSource::setData( int &_cs, const QString &dat )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setData" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_10017( & _cs, _ro, & _obj, dat );
}
QString DaoCxx_QXmlInputSource::data(  )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "data" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QString _data = DaoCxxVirt_QXmlInputSource::data( _cs  );
	if( _cs ) return _data;
  }
  return QXmlInputSource::data(  );
}
void DaoCxx_QXmlInputSource::fetchData(  )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "fetchData" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlInputSource::fetchData( _cs  );
	if( _cs ) return;
  }
  QXmlInputSource::fetchData(  );
}
QString DaoCxx_QXmlInputSource::fromRawData( const QByteArray &data, bool beginning )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "fromRawData" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QString _fromRawData = DaoCxxVirt_QXmlInputSource::fromRawData( _cs, data, beginning );
	if( _cs ) return _fromRawData;
  }
  return QXmlInputSource::fromRawData( data, beginning );
}
QChar DaoCxx_QXmlInputSource::next(  )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "next" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QChar _next = DaoCxxVirt_QXmlInputSource::next( _cs  );
	if( _cs ) return _next;
  }
  return QXmlInputSource::next(  );
}
void DaoCxx_QXmlInputSource::reset(  )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "reset" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlInputSource::reset( _cs  );
	if( _cs ) return;
  }
  QXmlInputSource::reset(  );
}
void DaoCxx_QXmlInputSource::setData( const QByteArray &dat )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setData" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlInputSource::setData( _cs, dat );
	if( _cs ) return;
  }
  QXmlInputSource::setData( dat );
}
void DaoCxx_QXmlInputSource::setData( const QString &dat )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setData" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlInputSource::setData( _cs, dat );
	if( _cs ) return;
  }
  QXmlInputSource::setData( dat );
}


DaoCxx_QXmlLocator* DAO_DLL_QTXML DaoCxx_QXmlLocator_New(  )
{
	DaoCxx_QXmlLocator *self = new DaoCxx_QXmlLocator(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlLocator::DaoInitWrapper( QXmlLocator *s, DaoCData *d )
{
	self = s;
	cdata = d;

}
DaoCxx_QXmlLocator::~DaoCxx_QXmlLocator()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlLocator::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlLocator_Typer, this );
	DaoCxxVirt_QXmlLocator::DaoInitWrapper( this, cdata );
}
int DaoCxxVirt_QXmlLocator::columnNumber( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "columnNumber" );
  int _columnNumber= (int)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _columnNumber;
  return (int)Function_1002d( & _cs, _ro, & _obj );
}
int DaoCxxVirt_QXmlLocator::lineNumber( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "lineNumber" );
  int _lineNumber= (int)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _lineNumber;
  return (int)Function_1002d( & _cs, _ro, & _obj );
}
int DaoCxx_QXmlLocator::columnNumber(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLocator::columnNumber( _cs  );
}
int DaoCxx_QXmlLocator::lineNumber(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlLocator::lineNumber( _cs  );
}


QXmlNamespaceSupport* DAO_DLL_QTXML Dao_QXmlNamespaceSupport_New(  )
{
	QXmlNamespaceSupport *object = new QXmlNamespaceSupport(  );
	return object;
}


QXmlParseException* DAO_DLL_QTXML Dao_QXmlParseException_New( const QString &name, int c, int l, const QString &p, const QString &s )
{
	QXmlParseException *object = new QXmlParseException( name, c, l, p, s );
	return object;
}
QXmlParseException* DAO_DLL_QTXML Dao_QXmlParseException_New( const QXmlParseException &other )
{
	QXmlParseException *object = new QXmlParseException( other );
	return object;
}


DaoCxx_QXmlReader* DAO_DLL_QTXML DaoCxx_QXmlReader_New(  )
{
	DaoCxx_QXmlReader *self = new DaoCxx_QXmlReader(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlReader::DaoInitWrapper( QXmlReader *s, DaoCData *d )
{
	self = s;
	cdata = d;

}
DaoCxx_QXmlReader::~DaoCxx_QXmlReader()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlReader::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlReader_Typer, this );
	DaoCxxVirt_QXmlReader::DaoInitWrapper( this, cdata );
}
QXmlDTDHandler* DaoCxxVirt_QXmlReader::DTDHandler( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "DTDHandler" );
  QXmlDTDHandler* _DTDHandler = NULL;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _DTDHandler;
  return (QXmlDTDHandler*)Function_1051b( & _cs, _ro, & _obj );
}
QXmlContentHandler* DaoCxxVirt_QXmlReader::contentHandler( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "contentHandler" );
  QXmlContentHandler* _contentHandler = NULL;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _contentHandler;
  return (QXmlContentHandler*)Function_1051d( & _cs, _ro, & _obj );
}
QXmlDeclHandler* DaoCxxVirt_QXmlReader::declHandler( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "declHandler" );
  QXmlDeclHandler* _declHandler = NULL;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _declHandler;
  return (QXmlDeclHandler*)Function_10523( & _cs, _ro, & _obj );
}
QXmlEntityResolver* DaoCxxVirt_QXmlReader::entityResolver( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "entityResolver" );
  QXmlEntityResolver* _entityResolver = NULL;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _entityResolver;
  return (QXmlEntityResolver*)Function_10519( & _cs, _ro, & _obj );
}
QXmlErrorHandler* DaoCxxVirt_QXmlReader::errorHandler( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorHandler" );
  QXmlErrorHandler* _errorHandler = NULL;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _errorHandler;
  return (QXmlErrorHandler*)Function_1051f( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlReader::feature( int &_cs, const QString &name, bool* ok )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "feature" );
  bool _feature= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _feature;
  return (bool)Function_10514( & _cs, _ro, & _obj, name, ok );
}
bool DaoCxxVirt_QXmlReader::hasFeature( int &_cs, const QString &name )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "hasFeature" );
  bool _hasFeature= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _hasFeature;
  return (bool)Function_10182( & _cs, _ro, & _obj, name );
}
bool DaoCxxVirt_QXmlReader::hasProperty( int &_cs, const QString &name )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "hasProperty" );
  bool _hasProperty= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _hasProperty;
  return (bool)Function_10182( & _cs, _ro, & _obj, name );
}
QXmlLexicalHandler* DaoCxxVirt_QXmlReader::lexicalHandler( int &_cs  )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "lexicalHandler" );
  QXmlLexicalHandler* _lexicalHandler = NULL;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _lexicalHandler;
  return (QXmlLexicalHandler*)Function_10521( & _cs, _ro, & _obj );
}
bool DaoCxxVirt_QXmlReader::parse( int &_cs, const QXmlInputSource &input )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "parse" );
  bool _parse= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _parse;
  return (bool)Function_10524( & _cs, _ro, & _obj, input );
}
bool DaoCxxVirt_QXmlReader::parse( int &_cs, const QXmlInputSource* input )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "parse" );
  bool _parse= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _parse;
  return (bool)Function_10525( & _cs, _ro, & _obj, input );
}
void* DaoCxxVirt_QXmlReader::property( int &_cs, const QString &name, bool* ok )const
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "property" );
  void* _property = 0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _property;
  return (void*)Function_10516( & _cs, _ro, & _obj, name, ok );
}
void DaoCxxVirt_QXmlReader::setContentHandler( int &_cs, QXmlContentHandler* handler )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setContentHandler" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_1051c( & _cs, _ro, & _obj, handler );
}
void DaoCxxVirt_QXmlReader::setDTDHandler( int &_cs, QXmlDTDHandler* handler )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setDTDHandler" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_1051a( & _cs, _ro, & _obj, handler );
}
void DaoCxxVirt_QXmlReader::setDeclHandler( int &_cs, QXmlDeclHandler* handler )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setDeclHandler" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_10522( & _cs, _ro, & _obj, handler );
}
void DaoCxxVirt_QXmlReader::setEntityResolver( int &_cs, QXmlEntityResolver* handler )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setEntityResolver" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_10518( & _cs, _ro, & _obj, handler );
}
void DaoCxxVirt_QXmlReader::setErrorHandler( int &_cs, QXmlErrorHandler* handler )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setErrorHandler" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_1051e( & _cs, _ro, & _obj, handler );
}
void DaoCxxVirt_QXmlReader::setFeature( int &_cs, const QString &name, bool value )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setFeature" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_10515( & _cs, _ro, & _obj, name, value );
}
void DaoCxxVirt_QXmlReader::setLexicalHandler( int &_cs, QXmlLexicalHandler* handler )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setLexicalHandler" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_10520( & _cs, _ro, & _obj, handler );
}
void DaoCxxVirt_QXmlReader::setProperty( int &_cs, const QString &name, void* value )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setProperty" );
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return;
  Function_10517( & _cs, _ro, & _obj, name, value );
}
QXmlDTDHandler* DaoCxx_QXmlReader::DTDHandler(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::DTDHandler( _cs  );
}
QXmlContentHandler* DaoCxx_QXmlReader::contentHandler(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::contentHandler( _cs  );
}
QXmlDeclHandler* DaoCxx_QXmlReader::declHandler(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::declHandler( _cs  );
}
QXmlEntityResolver* DaoCxx_QXmlReader::entityResolver(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::entityResolver( _cs  );
}
QXmlErrorHandler* DaoCxx_QXmlReader::errorHandler(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::errorHandler( _cs  );
}
bool DaoCxx_QXmlReader::feature( const QString &name, bool* ok )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::feature( _cs, name, ok );
}
bool DaoCxx_QXmlReader::hasFeature( const QString &name )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::hasFeature( _cs, name );
}
bool DaoCxx_QXmlReader::hasProperty( const QString &name )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::hasProperty( _cs, name );
}
QXmlLexicalHandler* DaoCxx_QXmlReader::lexicalHandler(  )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::lexicalHandler( _cs  );
}
bool DaoCxx_QXmlReader::parse( const QXmlInputSource &input )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::parse( _cs, input );
}
bool DaoCxx_QXmlReader::parse( const QXmlInputSource* input )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::parse( _cs, input );
}
void* DaoCxx_QXmlReader::property( const QString &name, bool* ok )const
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::property( _cs, name, ok );
}
void DaoCxx_QXmlReader::setContentHandler( QXmlContentHandler* handler )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::setContentHandler( _cs, handler );
}
void DaoCxx_QXmlReader::setDTDHandler( QXmlDTDHandler* handler )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::setDTDHandler( _cs, handler );
}
void DaoCxx_QXmlReader::setDeclHandler( QXmlDeclHandler* handler )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::setDeclHandler( _cs, handler );
}
void DaoCxx_QXmlReader::setEntityResolver( QXmlEntityResolver* handler )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::setEntityResolver( _cs, handler );
}
void DaoCxx_QXmlReader::setErrorHandler( QXmlErrorHandler* handler )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::setErrorHandler( _cs, handler );
}
void DaoCxx_QXmlReader::setFeature( const QString &name, bool value )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::setFeature( _cs, name, value );
}
void DaoCxx_QXmlReader::setLexicalHandler( QXmlLexicalHandler* handler )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::setLexicalHandler( _cs, handler );
}
void DaoCxx_QXmlReader::setProperty( const QString &name, void* value )
{
  int _cs = 0;
  return DaoCxxVirt_QXmlReader::setProperty( _cs, name, value );
}


DaoCxx_QXmlSimpleReader* DAO_DLL_QTXML DaoCxx_QXmlSimpleReader_New(  )
{
	DaoCxx_QXmlSimpleReader *self = new DaoCxx_QXmlSimpleReader(  );
	self->DaoInitWrapper();
	return self;
}
void DaoCxxVirt_QXmlSimpleReader::DaoInitWrapper( QXmlSimpleReader *s, DaoCData *d )
{
	self = s;
	cdata = d;
	DaoCxxVirt_QXmlReader::DaoInitWrapper( s, d );
}
DaoCxx_QXmlSimpleReader::~DaoCxx_QXmlSimpleReader()
{
	if( cdata ){
		DaoCData_SetData( cdata, NULL );
		DaoCData_SetExtReference( cdata, 0 );
	} 
}
void DaoCxx_QXmlSimpleReader::DaoInitWrapper()
{
	cdata = DaoCData_New( dao_QXmlSimpleReader_Typer, this );
	DaoCxxVirt_QXmlSimpleReader::DaoInitWrapper( this, cdata );
}
bool DaoCxxVirt_QXmlSimpleReader::parse( int &_cs, const QXmlInputSource* input, bool incremental )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "parse" );
  bool _parse= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _parse;
  return (bool)Function_10527( & _cs, _ro, & _obj, input, incremental );
}
bool DaoCxxVirt_QXmlSimpleReader::parseContinue( int &_cs  )
{
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "parseContinue" );
  bool _parseContinue= (bool)0;
  if( _ro ==NULL || _obj.t != DAO_OBJECT ) return _parseContinue;
  return (bool)Function_10009( & _cs, _ro, & _obj );
}
bool DaoCxx_QXmlSimpleReader::parse( const QXmlInputSource* input, bool incremental )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "parse" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _parse = DaoCxxVirt_QXmlSimpleReader::parse( _cs, input, incremental );
	if( _cs ) return _parse;
  }
  return QXmlSimpleReader::parse( input, incremental );
}
bool DaoCxx_QXmlSimpleReader::parseContinue(  )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "parseContinue" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _parseContinue = DaoCxxVirt_QXmlSimpleReader::parseContinue( _cs  );
	if( _cs ) return _parseContinue;
  }
  return QXmlSimpleReader::parseContinue(  );
}
QXmlDTDHandler* DaoCxx_QXmlSimpleReader::DTDHandler(  )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "DTDHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QXmlDTDHandler* _DTDHandler = DaoCxxVirt_QXmlReader::DTDHandler( _cs  );
	if( _cs ) return _DTDHandler;
  }
  return QXmlSimpleReader::DTDHandler(  );
}
QXmlContentHandler* DaoCxx_QXmlSimpleReader::contentHandler(  )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "contentHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QXmlContentHandler* _contentHandler = DaoCxxVirt_QXmlReader::contentHandler( _cs  );
	if( _cs ) return _contentHandler;
  }
  return QXmlSimpleReader::contentHandler(  );
}
QXmlDeclHandler* DaoCxx_QXmlSimpleReader::declHandler(  )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "declHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QXmlDeclHandler* _declHandler = DaoCxxVirt_QXmlReader::declHandler( _cs  );
	if( _cs ) return _declHandler;
  }
  return QXmlSimpleReader::declHandler(  );
}
QXmlEntityResolver* DaoCxx_QXmlSimpleReader::entityResolver(  )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "entityResolver" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QXmlEntityResolver* _entityResolver = DaoCxxVirt_QXmlReader::entityResolver( _cs  );
	if( _cs ) return _entityResolver;
  }
  return QXmlSimpleReader::entityResolver(  );
}
QXmlErrorHandler* DaoCxx_QXmlSimpleReader::errorHandler(  )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "errorHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QXmlErrorHandler* _errorHandler = DaoCxxVirt_QXmlReader::errorHandler( _cs  );
	if( _cs ) return _errorHandler;
  }
  return QXmlSimpleReader::errorHandler(  );
}
bool DaoCxx_QXmlSimpleReader::feature( const QString &name, bool* ok )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "feature" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _feature = DaoCxxVirt_QXmlReader::feature( _cs, name, ok );
	if( _cs ) return _feature;
  }
  return QXmlSimpleReader::feature( name, ok );
}
bool DaoCxx_QXmlSimpleReader::hasFeature( const QString &name )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "hasFeature" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _hasFeature = DaoCxxVirt_QXmlReader::hasFeature( _cs, name );
	if( _cs ) return _hasFeature;
  }
  return QXmlSimpleReader::hasFeature( name );
}
bool DaoCxx_QXmlSimpleReader::hasProperty( const QString &name )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "hasProperty" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _hasProperty = DaoCxxVirt_QXmlReader::hasProperty( _cs, name );
	if( _cs ) return _hasProperty;
  }
  return QXmlSimpleReader::hasProperty( name );
}
QXmlLexicalHandler* DaoCxx_QXmlSimpleReader::lexicalHandler(  )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "lexicalHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    QXmlLexicalHandler* _lexicalHandler = DaoCxxVirt_QXmlReader::lexicalHandler( _cs  );
	if( _cs ) return _lexicalHandler;
  }
  return QXmlSimpleReader::lexicalHandler(  );
}
bool DaoCxx_QXmlSimpleReader::parse( const QXmlInputSource &input )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "parse" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _parse = DaoCxxVirt_QXmlReader::parse( _cs, input );
	if( _cs ) return _parse;
  }
  return QXmlSimpleReader::parse( input );
}
bool DaoCxx_QXmlSimpleReader::parse( const QXmlInputSource* input )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "parse" );
  if( _ro && _obj.t == DAO_OBJECT ){
    bool _parse = DaoCxxVirt_QXmlReader::parse( _cs, input );
	if( _cs ) return _parse;
  }
  return QXmlSimpleReader::parse( input );
}
void* DaoCxx_QXmlSimpleReader::property( const QString &name, bool* ok )const
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "property" );
  if( _ro && _obj.t == DAO_OBJECT ){
    void* _property = DaoCxxVirt_QXmlReader::property( _cs, name, ok );
	if( _cs ) return _property;
  }
  return QXmlSimpleReader::property( name, ok );
}
void DaoCxx_QXmlSimpleReader::setContentHandler( QXmlContentHandler* handler )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setContentHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlReader::setContentHandler( _cs, handler );
	if( _cs ) return;
  }
  QXmlSimpleReader::setContentHandler( handler );
}
void DaoCxx_QXmlSimpleReader::setDTDHandler( QXmlDTDHandler* handler )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setDTDHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlReader::setDTDHandler( _cs, handler );
	if( _cs ) return;
  }
  QXmlSimpleReader::setDTDHandler( handler );
}
void DaoCxx_QXmlSimpleReader::setDeclHandler( QXmlDeclHandler* handler )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setDeclHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlReader::setDeclHandler( _cs, handler );
	if( _cs ) return;
  }
  QXmlSimpleReader::setDeclHandler( handler );
}
void DaoCxx_QXmlSimpleReader::setEntityResolver( QXmlEntityResolver* handler )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setEntityResolver" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlReader::setEntityResolver( _cs, handler );
	if( _cs ) return;
  }
  QXmlSimpleReader::setEntityResolver( handler );
}
void DaoCxx_QXmlSimpleReader::setErrorHandler( QXmlErrorHandler* handler )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setErrorHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlReader::setErrorHandler( _cs, handler );
	if( _cs ) return;
  }
  QXmlSimpleReader::setErrorHandler( handler );
}
void DaoCxx_QXmlSimpleReader::setFeature( const QString &name, bool value )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setFeature" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlReader::setFeature( _cs, name, value );
	if( _cs ) return;
  }
  QXmlSimpleReader::setFeature( name, value );
}
void DaoCxx_QXmlSimpleReader::setLexicalHandler( QXmlLexicalHandler* handler )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setLexicalHandler" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlReader::setLexicalHandler( _cs, handler );
	if( _cs ) return;
  }
  QXmlSimpleReader::setLexicalHandler( handler );
}
void DaoCxx_QXmlSimpleReader::setProperty( const QString &name, void* value )
{
  int _cs = 0;
  DValue _obj = {0,0,0,0,{0}};
  DaoMethod *_ro = Dao_Get_Object_Method( cdata, & _obj, "setProperty" );
  if( _ro && _obj.t == DAO_OBJECT ){
    DaoCxxVirt_QXmlReader::setProperty( _cs, name, value );
	if( _cs ) return;
  }
  QXmlSimpleReader::setProperty( name, value );
}

